class Category < ActiveRecord::Base
  attr_accessible :description, :name
    has_many:book
  validates:name,:presence=>true,:uniqueness=>true
end
